//
//  DATAsyncGetAFNBlock.h
//  AFNBlockDemo
//
//  Created by dllo on 15/10/12.
//  Copyright (c) 2015年 ShangRJ. All rights reserved.
//

#import <Foundation/Foundation.h>

typedef void(^GetAFNBlockResult)(id result);
typedef void(^GetAFNBlockError)(NSError *error);

@interface DATAsyncGetAFNBlock : NSObject


+(void)GetAFNURLWithString:(NSString *)url andBody:(NSDictionary *)body andCookie:(NSString *)cookie resultBlock:(GetAFNBlockResult)resultBlock errorBlock:(GetAFNBlockError)errorBlock;

@end
